<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>


    <div id="aa">
        <div>aaa</div>
        <div ssss>bbb</div>
    </div>

    <script src="../../src/morphdom.js"></script>
<script>

    var node = document.getElementById('aa');
   var cc= morphdom(node, '<div><div>ccc</div><div ssss>ddd</div></div>', {
       ignoreAttr: ['sss', 'ssss']
   });




</script>
</body>
</html>